/* -zimChat-
 * 
 * Developed by -Scott Wilkewitz- and -Matt Rodgers-
 * as a source of learning in the topics of
 * GUIs, threading, and networking.
*/


import javax.swing.*;
import java.awt.event.*;


public class ZimChat extends JFrame implements ActionListener, WindowListener
{
  
  ////////////// ///////////////////////////////////////////////////////////
  //Members   // //GUI members will hold GUI items and functionality.     //
  ////////////// ///////////////////////////////////////////////////////////
  
  //GUI
  OptionsMenu optionsMenu;
  ChatPanel chatPanel;
  SettingsFrame settingsFrame;
  
  ////////////// ///////////////////////////////////////////////////////////
  //Start     // //                                                       //
  ////////////// ///////////////////////////////////////////////////////////
  
  public static void main(String[] args)
  {
    new ZimChat();
  }
  
  public ZimChat()
  {
    
    optionsMenu = new OptionsMenu(this);
    chatPanel = new ChatPanel(this);
    add(optionsMenu);
    add(chatPanel);
    
    setSize(500, 700);
    setVisible(true);
  }
  
  ////////////// ///////////////////////////////////////////////////////////
  //Input     // //ZimChat will only handle input, not functionality.     //
  ////////////// ///////////////////////////////////////////////////////////
  
  public void actionPerformed(ActionEvent e)
  {
    
    Object o = e.getSource();
    
    
  }
  
  ////////////// ///////////////////////////////////////////////////////////
  //Exit      // //                                                       //
  ////////////// ///////////////////////////////////////////////////////////
  
  public void windowClosing(WindowEvent e)
  {
    
    Object o = e.getSource();
    
    
  }
  
  //Empty Methods
  public void windowOpened(WindowEvent e){}
  public void windowClosed(WindowEvent e){}
  public void windowActivated(WindowEvent e){}
  public void windowDeactivated(WindowEvent e){}
  public void windowIconified(WindowEvent e){}
  public void windowDeiconified(WindowEvent e){}
}